// Package files
// @Author: zhangdi
// @File: parse_csv
// @Version: 1.0.0
// @Date: 2023/4/25 10:46
package filehelper

import (
	"fmt"
	"io/ioutil"
)

const DateFormat = "2006-01-02"

func ReadCSVToString(filepath string) (string, error) {
	content, err := ioutil.ReadFile(filepath)
	if err != nil {
		fmt.Println("无法读取文件: ", err)
		return "", err
	}

	contentStr := string(content)
	return contentStr, nil
}
